/**
 ******************************************************************************
 * @file    lora.c
 * @brief   lora program body
 ******************************************************************************
 * @attention
 ******************************************************************************
 */
/* includes ------------------------------------------------------------------*/
#include "lora.h"
/* Private includes ----------------------------------------------------------*/
#include <string.h>
#include "llcc68.h"
#include "delay.h"
#include "debug.h"

/* Private typedef -----------------------------------------------------------*/
/* Private define ------------------------------------------------------------*/
/* Private macro -------------------------------------------------------------*/
/* Private variables ---------------------------------------------------------*/
/* Private user code ---------------------------------------------------------*/
/**
 * @brief LoRa初始化
 * @param
 * @return
 */
void LoRa_Init(void)
{
	/* 初始化 */
	LLCC68_Init();

}

/**
 * @brief LoRa发送数据
 * @param
 * @return
 */
uint8_t LoRa_SendData(uint8_t *data)
{
	uint8_t isDataSent = LLCC68_SendData(data, strlen((char *)data));
//	LOG_DEBUG("LoRa Send Data Length:%d", strlen((char *)data));
	return isDataSent;
}
